/* ===== ELIXAR CALCULATOR ===== */
.elx-calc { font-family: 'Space Mono', monospace; color: #111; background: #F4F3F0; }
.elx-calc *, .elx-calc *::before, .elx-calc *::after { box-sizing: border-box; }
.elx-calc-header { padding: 32px; border-bottom: 1px solid #111; }
.elx-calc-header h3 { margin: 0 0 8px; font-size: 20px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.elx-calc-header p { margin: 0; font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 20px; color: rgba(17,17,17,.7); }
.elx-calc-body { padding: 32px; }
.elx-section { margin-bottom: 40px; }
.elx-section-head { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid #111; padding-bottom: 8px; margin-bottom: 16px; }
.elx-label { font-size: 11px; text-transform: uppercase; letter-spacing: .2em; color: rgba(17,17,17,.5); }
.elx-section-head a { font-size: 10px; text-transform: uppercase; color: #FF4500; text-decoration: none; }
.elx-section-head a:hover { text-decoration: underline; }
.elx-empty { padding: 16px; font-size: 12px; opacity: .5; }

/* Материалы */
.elx-materials { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid #111; }
.elx-materials label { position: relative; cursor: pointer; border-right: 1px solid #111; border-bottom: 1px solid #111; }
.elx-materials label:nth-child(2n) { border-right: 0; }
.elx-materials label:nth-last-child(-n+2) { border-bottom: 0; }
.elx-materials input { position: absolute; opacity: 0; pointer-events: none; }
.elx-mat-box { display: block; padding: 16px; transition: background .2s, color .2s; }
.elx-mat-name { display: block; font-weight: 700; font-size: 14px; text-transform: uppercase; }
.elx-mat-sub { display: block; font-size: 11px; opacity: .5; margin-top: 6px; text-transform: uppercase; }
.elx-materials label:hover .elx-mat-box { background: rgba(17,17,17,.05); }
.elx-materials input:checked + .elx-mat-box { background: #111; color: #F4F3F0; }

/* Постаменты */
.elx-item { border: 1px solid #111; margin-bottom: 16px; background: rgba(255,255,255,.4); }
.elx-item-head { display: flex; justify-content: space-between; align-items: center; background: #111; color: #F4F3F0; padding: 12px 16px; }
.elx-item-head span { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.elx-item-remove { background: none; border: 1px solid rgba(244,243,240,.4); color: #F4F3F0; font-family: inherit; font-size: 10px; text-transform: uppercase; padding: 4px 10px; cursor: pointer; }
.elx-item-remove:hover { border-color: #FF4500; color: #FF4500; }
.elx-item-body { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.elx-qty-row { display: flex; justify-content: space-between; align-items: center; }
.elx-qty-label { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; opacity: .7; }
.elx-qty-control { display: flex; align-items: center; gap: 8px; }
.elx-qty-control button { width: 32px; height: 32px; border: 1px solid #111; background: none; font-size: 16px; cursor: pointer; }
.elx-qty-control button:hover { background: #111; color: #F4F3F0; }
.elx-qty-control input { width: 56px; height: 32px; border: 1px solid #111; background: none; text-align: center; font-family: inherit; font-weight: 700; outline: none; }
.elx-field { position: relative; border: 1px solid #111; padding: 24px 16px 10px; }
.elx-field label { position: absolute; top: 7px; left: 16px; font-size: 9px; text-transform: uppercase; letter-spacing: .15em; opacity: .5; pointer-events: none; }
.elx-field input { display: block; width: 100%; border: 0; outline: none; background: transparent; text-align: right; font-family: inherit; font-size: 18px; font-weight: 700; }
.elx-dome { border-top: 1px solid rgba(17,17,17,.2); padding-top: 12px; }
.elx-dome-label { font-size: 10px; text-transform: uppercase; letter-spacing: .1em; opacity: .6; margin-bottom: 8px; }
.elx-footnote { font-size: 10px; opacity: .6; }
.elx-footnote .star { color: #FF4500; }
.elx-add-btn { width: 100%; margin-top: 8px; border: 1px dashed #111; background: none; padding: 14px; font-family: inherit; font-size: 11px; text-transform: uppercase; letter-spacing: .2em; cursor: pointer; }
.elx-add-btn:hover { background: #111; color: #F4F3F0; }

/* Услуги */
.elx-services { border: 1px solid #111; }
.elx-service { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-bottom: 1px solid #111; cursor: pointer; }
.elx-service:last-child { border-bottom: 0; }
.elx-service:hover { background: rgba(17,17,17,.03); }
.elx-service input { position: absolute; opacity: 0; pointer-events: none; }
.elx-check { flex-shrink: 0; width: 18px; height: 18px; border: 1px solid #111; display: flex; align-items: center; justify-content: center; font-size: 11px; color: transparent; margin-top: 2px; transition: all .2s; }
.elx-service input:checked ~ .elx-check { background: #FF4500; border-color: #FF4500; color: #fff; }
.elx-service-title { font-size: 13px; font-weight: 700; text-transform: uppercase; }
.elx-service-price { font-weight: 400; font-size: 11px; opacity: .6; }
.elx-service-desc { display: block; font-size: 11px; opacity: .6; margin-top: 4px; }

/* Кнопки */
.elx-actions { display: flex; gap: 12px; margin-bottom: 32px; }
.elx-btn-calc { flex: 1; background: #111; color: #F4F3F0; border: 1px solid #111; padding: 16px; font-family: inherit; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .15em; cursor: pointer; }
.elx-btn-calc:hover { background: #FF4500; border-color: #FF4500; color: #111; }
.elx-btn-reset { padding: 16px 24px; border: 1px solid #111; background: none; font-family: inherit; font-size: 11px; text-transform: uppercase; letter-spacing: .15em; cursor: pointer; }
.elx-btn-reset:hover { background: #111; color: #F4F3F0; }

/* Результат */
.elx-result { display: none; }
.elx-result-panel { border: 1px solid #111; padding: 16px; background: rgba(255,255,255,.5); margin-bottom: 16px; overflow-x: auto; }
.elx-result-panel table { width: 100%; border-collapse: collapse; font-size: 11px; }
.elx-result-panel th { background: #111; color: #F4F3F0; text-align: left; padding: 8px 10px; font-size: 10px; text-transform: uppercase; border: 1px solid #111; }
.elx-result-panel td { padding: 8px 10px; border: 1px solid #111; }
.elx-copy { background: none; border: 0; padding: 0; font-family: inherit; font-size: 10px; text-transform: uppercase; color: #FF4500; cursor: pointer; }
.elx-copy:hover { text-decoration: underline; }
.elx-total { background: #111; color: #F4F3F0; padding: 24px 32px; margin: 0 -32px -32px; }
.elx-total-label { font-size: 11px; text-transform: uppercase; letter-spacing: .2em; opacity: .5; margin-bottom: 8px; }
.elx-total-value { font-size: 48px; font-weight: 700; color: #FF4500; line-height: 1; }
.elx-btn-order { width: 100%; margin-top: 24px; background: #FF4500; color: #111; border: 1px solid #FF4500; padding: 16px; font-family: inherit; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .15em; cursor: pointer; }
.elx-btn-order:hover { background: #fff; border-color: #fff; }

/* Модалка заявки */
.elx-order-modal { position: fixed; inset: 0; z-index: 9995; display: flex; align-items: center; justify-content: center; padding: 16px; opacity: 0; pointer-events: none; visibility: hidden; transition: opacity .3s, visibility .3s; }
.elx-order-modal.is-open { opacity: 1; pointer-events: auto; visibility: visible; }
.elx-order-overlay { position: absolute; inset: 0; background: rgba(17,17,17,.9); backdrop-filter: blur(6px); }
.elx-order-box { position: relative; background: #F4F3F0; border: 1px solid #111; width: 100%; max-width: 560px; max-height: 100%; overflow-y: auto; }
.elx-order-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 24px; border-bottom: 1px solid #111; font-size: 12px; text-transform: uppercase; letter-spacing: .15em; }
.elx-order-close { background: none; border: 1px solid transparent; width: 32px; height: 32px; cursor: pointer; color: #111; }
.elx-order-close:hover { color: #FF4500; border-color: #111; }
.elx-order-body { padding: 24px; }
.elx-order-summary { border: 1px solid #111; background: rgba(255,255,255,.5); padding: 16px; margin-bottom: 20px; font-size: 12px; }
.elx-order-row { display: flex; justify-content: space-between; gap: 16px; padding: 4px 0; border-bottom: 1px dashed rgba(17,17,17,.2); }
.elx-order-row--sub { opacity: .6; padding-left: 12px; }
.elx-order-row--total { border-bottom: 0; font-weight: 700; color: #FF4500; font-size: 14px; padding-top: 8px; }
.elx-order-input { display: block; width: 100%; border: 1px solid #111; background: transparent; padding: 10px 12px; font-family: inherit; font-size: 13px; margin-bottom: 12px; outline: none; }
.elx-order-input:focus { border-color: #FF4500; }
.elx-order-submit { width: 100%; background: #111; color: #F4F3F0; border: 1px solid #111; padding: 14px; font-family: inherit; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .15em; cursor: pointer; }
.elx-order-submit:hover { background: #FF4500; border-color: #FF4500; color: #111; }
.elx-order-submit:disabled { opacity: .5; cursor: not-allowed; }
.elx-order-note { font-size: 10px; opacity: .5; text-align: center; margin-top: 10px; text-transform: uppercase; }
.elx-order-success { text-align: center; padding: 32px 16px; }
.elx-order-success-title { font-size: 18px; font-weight: 700; text-transform: uppercase; color: #FF4500; margin-bottom: 12px; }

/* Уведомления */
.popup-notification { position: fixed; top: 20px; right: 20px; z-index: 9999; padding: 12px 20px; border-radius: 4px; font-family: 'Space Mono', monospace; font-size: 13px; color: #fff; box-shadow: 0 4px 12px rgba(0,0,0,.2); transition: opacity .5s; cursor: pointer; }
.popup-notification--success { background: #388e3c; }
.popup-notification--error { background: #d32f2f; }
.popup-notification--warning { background: #f57c00; }

@media (max-width: 768px) {
    .elx-calc-header, .elx-calc-body { padding: 20px; }
    .elx-materials { grid-template-columns: 1fr; }
    .elx-materials label { border-right: 0; border-bottom: 1px solid #111; }
    .elx-materials label:last-child { border-bottom: 0; }
    .elx-total { margin: 0 -20px -20px; padding: 20px; }
    .elx-total-value { font-size: 32px; }
}
/* Промокод */
.elx-promo { margin-bottom: 16px; }
.elx-promo-row { display: flex; gap: 8px; align-items: stretch; }
.elx-promo-input { flex: 1; border: 1px solid #111; background: transparent; padding: 10px 12px; font-family: inherit; font-size: 13px; text-transform: uppercase; outline: none; }
.elx-promo-input:focus { border-color: #FF4500; }
.elx-promo-input[readonly] { opacity: .7; background: rgba(17,17,17,.04); }
.elx-promo-btn { border: 1px solid #111; background: #111; color: #F4F3F0; padding: 0 16px; font-family: inherit; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; cursor: pointer; white-space: nowrap; }
.elx-promo-btn:hover { background: #FF4500; border-color: #FF4500; color: #111; }
.elx-promo-btn:disabled { opacity: .5; cursor: not-allowed; }
.elx-promo-clear { border: 1px solid #111; background: none; padding: 0 12px; font-family: inherit; font-size: 11px; text-transform: uppercase; cursor: pointer; }
.elx-promo-clear:hover { color: #FF4500; border-color: #FF4500; }
.elx-promo-msg { margin-top: 8px; font-size: 12px; }
.elx-promo-msg--ok { color: #2e7d32; }
.elx-promo-msg--err { color: #c62828; }
.elx-result-panel tr.elx-promo-row-tbl td { color: #FF4500; }


/* Result actions */
.elx-result-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.elx-section-head .elx-result-actions .elx-copy { font-size: 10px; }
.elx-copy.elx-share { display: inline-flex; align-items: center; gap: 6px; }
.elx-share-icon { flex-shrink: 0; }


.elx-total-meta { margin-top: 12px; font-size: 12px; opacity: .75; line-height: 1.5; }
.elx-total-meta div { margin-top: 2px; }


/* Options bar: delivery + promo before calculate */
.elx-options-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 20px 0 8px;
  padding: 18px 0 8px;
  border-top: 1px solid rgba(17,17,17,.12);
}
@media (max-width: 640px) {
  .elx-options-bar { grid-template-columns: 1fr; }
}
.elx-options-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  margin-bottom: 10px;
  opacity: .7;
}
.elx-seg {
  display: flex;
  border: 1px solid #111;
  overflow: hidden;
}
.elx-seg-item {
  flex: 1;
  position: relative;
  cursor: pointer;
  margin: 0;
  text-align: center;
}
.elx-seg-item input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.elx-seg-item span {
  display: block;
  padding: 12px 8px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  border-right: 1px solid #111;
  background: transparent;
  transition: background .15s, color .15s;
}
.elx-seg-item:last-child span { border-right: 0; }
.elx-seg-item input:checked + span {
  background: #111;
  color: #F4F3F0;
}
.elx-seg-item:hover input:not(:checked) + span {
  background: rgba(17,17,17,.06);
}
.elx-delivery-km { margin-top: 12px; }
.elx-km-label {
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.elx-delivery-km-input {
  width: 88px;
  padding: 10px 12px;
  border: 1px solid #111;
  background: transparent;
  font-family: inherit;
  font-size: 13px;
}
.elx-options-bar .elx-promo-row { display: flex; gap: 0; border: 1px solid #111; }
.elx-options-bar .elx-promo-input {
  flex: 1;
  border: 0;
  padding: 12px 14px;
  background: transparent;
  font-family: inherit;
  font-size: 13px;
  min-width: 0;
}
.elx-options-bar .elx-promo-btn {
  border: 0;
  border-left: 1px solid #111;
  background: #111;
  color: #F4F3F0;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
}
.elx-options-bar .elx-promo-btn:hover { background: #FF4500; color: #111; }
.elx-options-bar .elx-promo-clear {
  border: 0;
  border-left: 1px solid #111;
  background: transparent;
  padding: 12px 14px;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
}

/* Смета — иерархия позиций */
.elx-smeta-head { font-size: 12px; margin-bottom: 10px; text-transform: uppercase; letter-spacing: .06em; }
.elx-smeta { width: 100%; border-collapse: collapse; font-size: 12px; }
.elx-smeta th { background: #111; color: #F4F3F0; text-align: left; padding: 8px 10px; font-size: 10px; text-transform: uppercase; border: 1px solid #111; }
.elx-smeta td { padding: 8px 10px; border: 1px solid #111; vertical-align: top; }
.elx-smeta-item td { font-weight: 600; }
.elx-smeta-sub td { background: rgba(17,17,17,.03); font-weight: 400; }
.elx-smeta-indent { padding-left: 20px !important; }
.elx-smeta-section td { background: #111; color: #F4F3F0; font-size: 10px; text-transform: uppercase; letter-spacing: .12em; }


/* Услуги внутри постамента */
.elx-item-services {
  border-top: 1px solid rgba(17,17,17,.12);
  padding-top: 12px;
  margin-top: 4px;
}
.elx-item-services-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .06em;
  opacity: .55;
  margin-bottom: 8px;
}
.elx-item-services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.elx-chip {
  display: inline-flex;
  cursor: pointer;
  margin: 0;
}
.elx-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.elx-chip-face {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #111;
  padding: 6px 10px;
  font-size: 11px;
  line-height: 1.2;
  background: transparent;
  transition: background .15s, border-color .15s, color .15s;
}
.elx-chip-mark {
  width: 12px;
  height: 12px;
  border: 1px solid #111;
  flex-shrink: 0;
  position: relative;
}
.elx-chip input:checked + .elx-chip-face {
  background: #111;
  color: #F4F3F0;
  border-color: #111;
}
.elx-chip input:checked + .elx-chip-face .elx-chip-mark {
  background: #FF4500;
  border-color: #FF4500;
}
.elx-chip input:checked + .elx-chip-face .elx-chip-mark::after {
  content: '';
  position: absolute;
  left: 3px;
  top: 1px;
  width: 4px;
  height: 7px;
  border: solid #fff;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
.elx-chip-text {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.elx-chip-price {
  opacity: .55;
  font-weight: 400;
  text-transform: none;
}
.elx-chip:hover .elx-chip-face {
  border-color: #FF4500;
}
.elx-item-dims {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
@media (max-width: 720px) {
  .elx-item-dims {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


/* RAL picker */
.elx-item-ral { border-top: 1px solid rgba(17,17,17,.12); padding-top: 12px; margin-top: 4px; }
.elx-ral-row { display: flex; align-items: center; gap: 8px; }
.elx-ral-swatch {
  width: 28px; height: 28px; border: 1px solid #111; flex-shrink: 0; background: repeating-conic-gradient(#eee 0% 25%, #fff 0% 50%) 50% / 12px 12px;
}
.elx-ral-swatch.has-color { background-image: none; }
.elx-ral-control { position: relative; flex: 1; min-width: 0; }
.elx-ral-search {
  width: 100%; border: 1px solid #111; background: transparent; font-family: inherit;
  font-size: 12px; padding: 8px 10px; outline: none;
}
.elx-ral-search:focus { border-color: #FF4500; }
.elx-ral-dropdown {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 20;
  max-height: 220px; overflow: auto; background: #F4F3F0; border: 1px solid #111; border-top: 0;
}
.elx-ral-option {
  display: flex; align-items: center; gap: 8px; width: 100%; text-align: left;
  border: 0; border-bottom: 1px solid rgba(17,17,17,.08); background: transparent;
  font-family: inherit; font-size: 11px; padding: 8px 10px; cursor: pointer;
}
.elx-ral-option:hover { background: rgba(17,17,17,.05); }
.elx-ral-dot { width: 14px; height: 14px; border: 1px solid rgba(0,0,0,.25); flex-shrink: 0; }
.elx-ral-clear {
  border: 1px solid #111; background: none; width: 28px; height: 28px; cursor: pointer;
  font-family: inherit; font-size: 14px; line-height: 1;
}
.elx-ral-clear:hover { border-color: #FF4500; color: #FF4500; }
.elx-ral-current { font-size: 11px; opacity: .65; margin-top: 6px; }
.elx-ral-empty { padding: 10px; font-size: 11px; opacity: .6; }


/* RAL head + table button */
.elx-ral-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
}
.elx-ral-head .elx-item-services-label { margin-bottom: 0; }
.elx-ral-table-btn {
  border: 0;
  background: none;
  padding: 0;
  font-family: inherit;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #FF4500;
  cursor: pointer;
  white-space: nowrap;
}
.elx-ral-table-btn:hover { text-decoration: underline; }

/* RAL modal */
.elx-ral-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.elx-ral-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, .55);
}
.elx-ral-modal-sheet {
  position: relative;
  width: min(920px, 100%);
  max-height: min(88vh, 820px);
  background: #F4F3F0;
  border: 1px solid #111;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 50px rgba(0,0,0,.25);
}
.elx-ral-modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid #111;
  background: #111;
  color: #F4F3F0;
}
.elx-ral-modal-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.elx-ral-modal-x {
  border: 1px solid rgba(244,243,240,.4);
  background: none;
  color: #F4F3F0;
  width: 32px;
  height: 32px;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  font-family: inherit;
}
.elx-ral-modal-x:hover { border-color: #FF4500; color: #FF4500; }
.elx-ral-modal-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(17,17,17,.12);
}
.elx-ral-modal-search {
  flex: 1;
  min-width: 180px;
  border: 1px solid #111;
  background: transparent;
  font-family: inherit;
  font-size: 13px;
  padding: 10px 12px;
  outline: none;
}
.elx-ral-modal-search:focus { border-color: #FF4500; }
.elx-ral-modal-hint {
  font-size: 11px;
  opacity: .55;
}
.elx-ral-modal-body {
  overflow: auto;
  padding: 12px 16px 20px;
  -webkit-overflow-scrolling: touch;
}
.elx-ral-group { margin-bottom: 18px; }
.elx-ral-group-title {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .08em;
  opacity: .55;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(17,17,17,.1);
  padding-bottom: 4px;
}
.elx-ral-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
  gap: 8px;
}
.elx-ral-cell {
  border: 1px solid #111;
  background: #fff;
  padding: 0;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  overflow: hidden;
  transition: border-color .15s, transform .1s;
}
.elx-ral-cell:hover {
  border-color: #FF4500;
  transform: translateY(-1px);
}
.elx-ral-cell-swatch {
  display: block;
  height: 44px;
  border-bottom: 1px solid rgba(17,17,17,.15);
}
.elx-ral-cell-code {
  display: block;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 8px 0;
  letter-spacing: .02em;
}
.elx-ral-cell-name {
  display: block;
  font-size: 10px;
  padding: 2px 8px 0;
  line-height: 1.3;
  opacity: .85;
}
.elx-ral-cell-en {
  display: block;
  font-size: 9px;
  padding: 1px 8px 7px;
  opacity: .5;
  line-height: 1.3;
}
@media (max-width: 560px) {
  .elx-ral-grid { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
  .elx-ral-modal { padding: 0; align-items: stretch; }
  .elx-ral-modal-sheet { max-height: 100vh; width: 100%; border: 0; }
}

.elx-item-services-empty {
  font-size: 12px;
  opacity: 0.55;
  padding: 6px 0;
}

/* RAL chip in smeta (screen only) */
.elx-ral-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  vertical-align: middle;
  max-width: 100%;
}
.elx-ral-chip-swatch {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 1px solid rgba(17,17,17,.35);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.25);
  flex-shrink: 0;
  vertical-align: middle;
}
.elx-ral-chip--sm .elx-ral-chip-swatch { width: 12px; height: 12px; }
.elx-ral-chip--md .elx-ral-chip-swatch { width: 16px; height: 16px; }
.elx-ral-chip-text {
  font-weight: 500;
  line-height: 1.3;
}
.elx-smeta-ral td { vertical-align: middle; }


.elx-ral-head-actions {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
a.elx-ral-compare-link {
  text-decoration: none;
}
a.elx-ral-compare-link:hover {
  text-decoration: underline;
}

/* Модалка «Поделиться расчётом» + соцдоказательство */
.elx-calc-today {
    margin: 6px 0 0;
    font-size: 13px;
    color: #64748b;
}
.elx-share-row {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}
.elx-share-row .elx-order-input {
    flex: 1;
    min-width: 0;
}
.elx-share-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}
.elx-share-tg {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border: 1px solid #0F172A;
    border-radius: 6px;
    color: #0F172A;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}
.elx-share-tg:hover {
    background: #0F172A;
    color: #fff;
}
.elx-share-email {
    border-top: 1px solid #e2e8f0;
    padding-top: 14px;
}
.elx-share-email-title {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
}
.elx-share-msg {
    font-size: 12px;
    color: #64748b;
    margin-top: 4px;
}
.elx-share-save-hint {
    margin: -8px 0 16px;
}
a.elx-copy {
    display: inline-block;
    text-decoration: none;
}
a.elx-copy:hover {
    text-decoration: underline;
}
