/* ===== ЛЭЙАУТ ===== */
  .detail-block.ordered-block.calc,
  .detail-block.ordered-block.calc .lightcalc{
    width:100% !important;
    max-width:none !important;
  }

  .lightcalc{
    display:grid;
    grid-template-columns: 340px minmax(0, 1fr);
    gap:24px;
    align-items:start;
  }
  @media (max-width: 980px){
    .lightcalc{grid-template-columns:1fr;}
  }

  .lightcalc__left{min-width:280px}
  .lightcalc__right{min-width:0}

  /* ===== ИНПУТЫ ===== */
  .lightcalc__param{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
  .lightcalc__param-name{flex:1;min-width:0;max-width:100%}
  .lightcalc__param-value{flex:0 0 auto;min-width:0;overflow:hidden}

  /* под 6–7 знаков */
  input[name="luminous_flux"]{
    width: 170px;
    min-width: 170px;
    max-width: 100%;
    display:block;
    box-sizing:border-box;
    font-variant-numeric: tabular-nums;
  }
  @media (max-width: 980px){
    input[name="luminous_flux"]{width:100%;min-width:0;}
    .lightcalc__param-value{width:45%}
    .lightcalc__param{align-items:flex-start}
  }

  /* ===== 3D ===== */
  .lc3d-wrap{width:100%; max-width:none!important}
  .lc3d-stage{
    width:100%;
    max-width:none!important;
    height:690px !important;
    border:1px solid rgba(0,0,0,.1);
    border-radius:12px;
    overflow:hidden;
    background:#f2f3f7;
    position:relative;
  }
  @media (max-width: 980px){
    .lc3d-stage{height:380px !important;}
  }

  /* оверлей сверху */
  .lc3d-overlay{
    position:absolute; left:12px; top:12px;
    background:rgba(255,255,255,.92);
    border:1px solid rgba(0,0,0,.08);
    border-radius:12px;
    padding:12px 14px;
    font: 12px/1.25 system-ui;
    color:#111;
    backdrop-filter: blur(6px);
    max-width: 520px;
    z-index: 3;
  }
  .lc3d-overlay__top{
    display:flex; gap:14px; align-items:flex-end; justify-content:space-between;
    padding-bottom:10px; margin-bottom:10px;
    border-bottom:1px solid rgba(0,0,0,.08);
  }
  .lc3d-kpi{min-width:150px}
  .lc3d-kpi .t{opacity:.7}
  .lc3d-kpi .v{font-size:22px;line-height:1;font-weight:800;margin-top:4px}
  .lc3d-kpi .v small{font-size:14px;font-weight:700}
  .lc3d-kpi .sub{opacity:.78;margin-top:6px;font-weight:700}

  .lc3d-overlay__title{opacity:.9}
  .lc3d-overlay__lux{font-size:30px;line-height:1;font-weight:900;margin-top:6px}
  .lc3d-overlay__lux small{font-size:16px;font-weight:800}
  .lc-calc-status{
    position:absolute;
    right:12px;
    top:12px;
    z-index:4;
    display:none;
    align-items:center;
    gap:8px;
    padding:9px 12px;
    border-radius:999px;
    border:1px solid rgba(0,0,0,.08);
    background:rgba(255,255,255,.92);
    color:#222;
    font:700 12px/1.2 system-ui;
    box-shadow:0 10px 24px rgba(0,0,0,.08);
    backdrop-filter:blur(6px);
  }
  .lc-calc-status.is-visible{display:flex}
  .lc-calc-status:before{
    content:"";
    width:10px;
    height:10px;
    border-radius:50%;
    border:2px solid rgba(251,179,61,.35);
    border-top-color:#fbb33d;
    animation:lc-spin .75s linear infinite;
  }
  @keyframes lc-spin{to{transform:rotate(360deg)}}

  .lc3d-badges{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:10px;
    margin-top:8px;
  }
  @media (max-width: 1200px){
    .lc3d-badges{grid-template-columns:repeat(2,minmax(0,1fr));}
  }
  .lc3d-badge{
    font-size:12px;
    background:#f7f7fb;
    border:1px solid rgba(0,0,0,.06);
    border-radius:10px;
    padding:10px 12px;
    position:relative;
    display:flex;
    align-items:center;
    gap:8px;
  }

  /* ===== Подсказки ===== */
  .lc3d-badge .lc-tip{
    margin-left:auto;
    width:18px;height:18px;
    border-radius:50%;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    font: 12px/1 system-ui;
    background:rgba(0,0,0,.06);
    color:#333;
    cursor:help;
    user-select:none;
  }
  .lc3d-badge .lc-tip:hover{ background:rgba(0,0,0,.10); }

  .lc3d-badge .lc-tip[data-tip]:hover::after,
  .lc3d-badge .lc-tip[data-tip]:focus::after{
    content:attr(data-tip);
    position:absolute;
    right:10px;
    top:-8px;
    transform:translateY(-100%);
    width:min(340px, 80vw);
    background:#111;
    color:#fff;
    padding:10px 12px;
    border-radius:10px;
    font: 12px/1.35 system-ui;
    box-shadow:0 10px 25px rgba(0,0,0,.18);
    z-index:50;
    white-space:normal;
  }
  .lc3d-badge .lc-tip[data-tip]:hover::before,
  .lc3d-badge .lc-tip[data-tip]:focus::before{
    content:"";
    position:absolute;
    right:18px;
    top:-8px;
    transform:translateY(-8px);
    border:8px solid transparent;
    border-top-color:#111;
    z-index:51;
  }
  
  /* ===== UI: Параметры освещения (левая колонка) ===== */
  .lc-card{
    background:#fff;
    border:1px solid rgba(0,0,0,.08);
    border-radius:14px;
    padding:14px;
    box-shadow:0 6px 16px rgba(0,0,0,.05);
  }

  .lc-card__head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    margin-bottom:12px;
  }

  .lc-card__title{
    font: 700 14px/1.2 system-ui;
    color:#111;
  }

  .lc-chip{
    font: 12px/1 system-ui;
    padding:7px 10px;
    border-radius:999px;
    background:#f2f3f7;
    border:1px solid rgba(0,0,0,.06);
    color:#222;
    white-space:nowrap;
  }

  .lc-fields{
    display:grid;
    gap:12px;
  }

  .lc-field{
    display:grid;
    gap:6px;
  }

  .lc-label{
    font: 600 12px/1.2 system-ui;
    color:rgba(0,0,0,.72);
  }

  .lc-control{
    display:flex;
    align-items:stretch;
    gap:0;
  }

  .lc-input,
  .lc-select{
    width:100%;
    height:42px;
    padding:0 12px;
    border-radius:12px 0 0 12px;
    border:1px solid rgba(0,0,0,.12);
    border-right:0;
    background:#fff;
    font: 14px/1.2 system-ui;
    color:#111;
    outline:none;
  }

  .lc-input:focus,
  .lc-select:focus{
    border-color:rgba(0,0,0,.28);
    box-shadow:0 0 0 4px rgba(0,0,0,.06);
  }

  .lc-addon{
    height:42px;
    min-width:56px;
    padding:0 10px;
    border-radius:0 12px 12px 0;
    border:1px solid rgba(0,0,0,.12);
    background:#f7f7fb;
    display:flex;
    align-items:center;
    justify-content:center;
    font: 700 12px/1 system-ui;
    color:rgba(0,0,0,.72);
  }

  .lc-help{
    font: 12px/1.35 system-ui;
    color:rgba(0,0,0,.55);
  }

  .lc-toggle{
    display:flex;
    gap:6px;
    padding:6px;
    border-radius:12px;
    border:1px solid rgba(0,0,0,.08);
    background:#f7f7fb;
  }

  .lc-toggle__btn{
    flex:1;
    height:30px;
    border-radius:10px;
    border:0;
    background:transparent;
    font: 700 12px/1 system-ui;
    color:rgba(0,0,0,.62);
    cursor:pointer;
    transition: all 0.2s ease;
  }

  .lc-toggle__btn.is-active{
    background:#fff;
    color:#111;
    box-shadow:0 4px 10px rgba(0,0,0,.08);
    border:1px solid rgba(0,0,0,.07);
  }

  .lc-row2{
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap:10px;
  }
  @media (max-width: 980px){
    .lc-row2{grid-template-columns:1fr;}
  }

  .lc-range{
    width:100%;
  }

  .lc-muted{
    opacity:.65;
  }

  .lc-row3{
    display:grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap:10px;
  }
  @media (max-width: 980px){
    .lc-row3{grid-template-columns:1fr;}
  }

  /* Секция габаритов */
  .lc-dimsBox{
    border:1px solid rgba(0,0,0,.08);
    background:#f7f7fb;
    border-radius:14px;
    padding:10px;
    display:flex;
    flex-direction:column;
    gap:10px;
  }

  .lc-dimRow{
    display:grid;
    grid-template-columns: 90px 1fr;
    gap:10px;
    align-items:center;
  }

  .lc-dimRow__name{
    font: 600 12px/1.2 system-ui;
    color: rgba(0,0,0,.65);
  }

  .lc-dimsBox .lc-input,
  .lc-dimsBox .lc-addon{
    background:#fff;
  }

  /* Select без правой рамки когда есть addon */
  .lc-select{
    border-radius:12px;
    border-right:1px solid rgba(0,0,0,.12);
  }

  .lc-control .lc-select{
    border-radius:12px 0 0 12px;
    border-right:0;
  }

  /* Select без addon - полная рамка */
  .lc-field > .lc-control > .lc-select:only-child{
    border-radius:12px;
    border-right:1px solid rgba(0,0,0,.12);
  }

  /* УБРАТЬ ВНЕШНЮЮ "КАРТОЧКУ" ШАБЛОНА В ЛЕВОЙ КОЛОНКЕ */
  .lightcalc__left .lightcalc__section{
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    margin: 0 !important;
  }

  .lightcalc__left .lightcalc__section > *:not(.lc-card){
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  .lightcalc__left .lc-card{
    margin: 0 !important;
  }

  .detail-block.ordered-block.calc .lightcalc__left .lc-card{
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
  }

  .detail-block.ordered-block.calc .lightcalc__left .lc-card__head{
    margin-bottom: 12px !important;
  }

  .detail-block.ordered-block.calc .lightcalc__left .lightcalc__section{
    padding: 0 !important;
    background: transparent !important;
  }

  /* Целевая освещённость - отображение */
  .lc-target-display{
    font: 600 12px/1.35 system-ui;
    color: rgba(0,0,0,.7);
    margin-top: 4px;
    padding: 6px 10px;
    background: rgba(0,0,0,.03);
    border-radius: 8px;
  }
  .lc-target-display b{
    color: #111;
    font-weight: 700;
  }

  /* Шкала люксов */
  .lc-luxscale{
    margin: 12px 0;
    padding: 0 4px;
  }
  .lc-luxscale__bar{
    height: 18px;
    border-radius: 4px;
    background: linear-gradient(to right,
      rgb(0, 0, 80) 0%,
      rgb(0, 30, 160) 8%,
      rgb(0, 180, 200) 20%,
      rgb(0, 230, 120) 35%,
      rgb(0, 255, 0) 50%,
      rgb(180, 255, 0) 62%,
      rgb(255, 255, 0) 72%,
      rgb(255, 175, 0) 82%,
      rgb(255, 75, 0) 92%,
      rgb(255, 0, 0) 100%
    );
    border: 1px solid rgba(0,0,0,0.2);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  }
  .lc-luxscale__labels{
    display: flex;
    justify-content: space-between;
    font: 600 11px/1 system-ui;
    color: rgba(0,0,0,0.6);
    margin-top: 5px;
    padding: 0 2px;
  }
  .lc-luxscale__labels span:last-child{
    font-weight: 700;
    color: rgba(0,0,0,0.8);
  }

  /* Выбор светильника */
  .lc-lamp-catalog,
  .lc-lamp-custom{
    margin-top: 10px;
  }

  .lc-native-lamp-select{
    position:absolute !important;
    width:1px !important;
    height:1px !important;
    overflow:hidden !important;
    clip:rect(0 0 0 0) !important;
    clip-path:inset(50%) !important;
    white-space:nowrap !important;
  }

  .lc-selected-lamp{
    display:grid;
    grid-template-columns:58px minmax(0,1fr);
    gap:10px;
    align-items:center;
    padding:10px;
    border:1px solid rgba(0,0,0,.08);
    border-radius:14px;
    background:linear-gradient(135deg,#fff 0%,#f7f8fb 100%);
    box-shadow:0 8px 18px rgba(0,0,0,.05);
  }

  .lc-selected-lamp__body{
    min-width:0;
  }

  .lc-selected-lamp__group{
    font:700 10px/1.2 system-ui;
    letter-spacing:.06em;
    text-transform:uppercase;
    color:#a66b00;
    margin-bottom:4px;
  }

  .lc-selected-lamp__name{
    font:800 13px/1.25 system-ui;
    color:#111;
  }

  .lc-selected-lamp__meta{
    margin-top:4px;
    font:600 12px/1.2 system-ui;
    color:rgba(0,0,0,.62);
  }

  .lc-selected-lamp__change{
    grid-column:1 / -1;
    min-height:34px;
    border:0;
    border-radius:10px;
    background:#111;
    color:#fff;
    font:800 12px/1 system-ui;
    cursor:pointer;
    transition:transform .18s ease, box-shadow .18s ease;
  }

  .lc-selected-lamp__change:hover{
    transform:translateY(-1px);
    box-shadow:0 10px 18px rgba(0,0,0,.12);
  }

  .lc-lamp-thumb,
  .lc-lamp-card__thumb{
    width:58px;
    height:58px;
    border-radius:12px;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    color:#111;
    font:900 11px/1 system-ui;
    letter-spacing:.06em;
    background:transparent;
  }

  .lc-lamp-thumb img,
  .lc-lamp-card__thumb img{
    width:100%;
    height:100%;
    object-fit:contain;
    display:block;
  }

  .lc-lamp-thumb span,
  .lc-lamp-card__thumb span{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:100%;
    height:100%;
    border-radius:12px;
    background:#f7f7fb;
  }

  .lc-lamp-info{
    margin-top: 10px;
    padding: 10px 12px;
    background: linear-gradient(135deg, #f8f9fc 0%, #eef1f5 100%);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 10px;
    display: grid;
    gap: 6px;
  }
  
  .lc-lamp-info__row{
    display: flex;
    justify-content: space-between;
    align-items: center;
    font: 12px/1.3 system-ui;
  }
  
  .lc-lamp-info__label{
    color: rgba(0,0,0,0.6);
  }
  
  .lc-lamp-info__value{
    font-weight: 700;
    color: #111;
  }

  .lc-lamp-custom .lc-help{
    margin-top: 8px;
  }

  .lc-lamp-actions{
    margin-top:10px;
    display:grid;
    gap:7px;
  }

  .lc-lamp-product-link,
  .lc-calc-product__link{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:34px;
    padding:8px 12px;
    border-radius:10px;
    border:1px solid rgba(0,0,0,.12);
    background:#fff;
    color:#111 !important;
    font:800 12px/1.2 system-ui;
    text-decoration:none !important;
  }

  .lc-lamp-product-link.is-disabled,
  .lc-calc-product__link.is-disabled{
    color:rgba(0,0,0,.45) !important;
    background:#f5f5f5;
    cursor:not-allowed;
    pointer-events:none;
  }

  .lc-lamp-actions__note{
    font:12px/1.35 system-ui;
    color:rgba(0,0,0,.55);
  }

  .lc-modal-open{
    overflow:hidden;
  }

  .lc-lamp-modal{
    position:fixed;
    inset:0;
    z-index:9999;
    display:none;
  }

  .lc-lamp-modal.is-open{
    display:block;
  }

  .lc-lamp-modal__backdrop{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.48);
  }

  .lc-lamp-modal__dialog{
    position:absolute;
    left:50%;
    top:50%;
    transform:translate(-50%,-50%);
    width:min(920px, calc(100vw - 28px));
    max-height:min(760px, calc(100vh - 28px));
    overflow:auto;
    border-radius:18px;
    background:#fff;
    box-shadow:0 28px 80px rgba(0,0,0,.28);
    padding:20px;
  }

  .lc-lamp-modal__head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:16px;
    margin-bottom:14px;
  }

  .lc-lamp-modal__title{
    font:900 22px/1.15 system-ui;
    color:#111;
  }

  .lc-lamp-modal__subtitle{
    margin-top:6px;
    font:13px/1.4 system-ui;
    color:rgba(0,0,0,.58);
  }

  .lc-lamp-modal__close{
    width:38px;
    height:38px;
    border:0;
    border-radius:50%;
    background:#f2f3f7;
    color:#111;
    font:900 24px/1 system-ui;
    cursor:pointer;
  }

  .lc-lamp-search{
    width:100%;
    height:46px;
    padding:0 14px;
    border:1px solid rgba(0,0,0,.12);
    border-radius:12px;
    font:15px/1.2 system-ui;
    outline:none;
    margin-bottom:16px;
  }

  .lc-lamp-search:focus{
    border-color:rgba(0,0,0,.32);
    box-shadow:0 0 0 4px rgba(251,179,61,.18);
  }

  .lc-lamp-list{
    display:grid;
    gap:18px;
  }

  .lc-lamp-list__group-title{
    font:900 14px/1.2 system-ui;
    color:#111;
    margin-bottom:10px;
  }

  .lc-lamp-list__grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
  }

  .lc-lamp-card{
    display:grid;
    grid-template-columns:58px minmax(0,1fr);
    gap:12px;
    align-items:center;
    width:100%;
    padding:10px;
    text-align:left;
    border:1px solid rgba(0,0,0,.08);
    border-radius:14px;
    background:#fff;
    cursor:pointer;
    transition:border-color .18s ease, box-shadow .18s ease, transform .18s ease;
  }

  .lc-lamp-card:hover,
  .lc-lamp-card.is-selected{
    border-color:#fbb33d;
    box-shadow:0 12px 26px rgba(0,0,0,.08);
    transform:translateY(-1px);
  }

  .lc-lamp-card__body{
    min-width:0;
  }

  .lc-lamp-card__name{
    font:800 13px/1.25 system-ui;
    color:#111;
  }

  .lc-lamp-card__meta{
    margin-top:5px;
    font:700 12px/1.2 system-ui;
    color:rgba(0,0,0,.62);
  }

  .lc-lamp-card__note{
    margin-top:5px;
    font:12px/1.25 system-ui;
    color:rgba(0,0,0,.45);
  }

  .lc-lamp-empty{
    padding:22px;
    border-radius:14px;
    background:#f7f7fb;
    color:rgba(0,0,0,.58);
    font:700 13px/1.35 system-ui;
    text-align:center;
  }

  .lc-calc-product{
    margin-top:12px;
    padding:14px;
    border:1px solid rgba(0,0,0,.08);
    border-radius:14px;
    background:#fff;
    box-shadow:0 6px 16px rgba(0,0,0,.05);
    display:grid;
    grid-template-columns:104px minmax(0,1fr);
    gap:14px;
    align-items:center;
  }

  .lc-calc-product__media{
    min-width:0;
  }

  .lc-calc-product__media .lc-lamp-thumb{
    width:104px;
    height:104px;
    border-radius:12px;
    background:transparent;
  }

  .lc-calc-product__media .lc-lamp-thumb img{
    object-fit:contain;
  }

  .lc-calc-product__content{
    min-width:0;
  }

  .lc-calc-product__label{
    font:700 11px/1.2 system-ui;
    letter-spacing:.06em;
    text-transform:uppercase;
    color:rgba(0,0,0,.52);
  }

  .lc-calc-product__name{
    margin-top:5px;
    font:800 15px/1.28 system-ui;
    color:#111;
  }

  .lc-calc-product__meta{
    margin-top:6px;
    font:700 12px/1.35 system-ui;
    color:rgba(0,0,0,.62);
  }

  .lc-calc-product__actions{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-top:12px;
  }

  .lc-calc-product__btn{
    min-height:34px;
    padding:8px 14px;
    border:0;
    border-radius:10px;
    background:#111;
    color:#fff;
    font:800 12px/1.2 system-ui;
    cursor:pointer;
  }

  @media (max-width: 640px){
    .lc-lamp-list__grid{grid-template-columns:1fr;}
    .lc-lamp-modal__dialog{padding:16px;}
    .lc-lamp-modal__title{font-size:18px;}
    .lc-calc-product{grid-template-columns:78px minmax(0,1fr);}
    .lc-calc-product__media .lc-lamp-thumb{width:78px;height:78px;}
    .lc-calc-product__actions{grid-column:1 / -1;}
  }

.compare-dc-section {
  margin-top: 40px;
  font-family: Arial, sans-serif;
}

.compare-dc-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 20px;
}

.compare-dc-block {
  flex: 1 1 calc(50% - 16px);
  background: #f8f8f8;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.compare-dc-block h4 {
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 600;
}

.compare-dc-pair {
  display: flex;
  gap: 16px;
  margin-top: 12px;
}

.compare-dc-pair img {
  flex: 1 1 50%;
  object-fit: cover;
  border-radius: 8px;
  aspect-ratio: 3 / 3;
  max-height: 280px; /* Было 200px */
}

.compare-dc-label {
  text-align: center;
  font-size: 13px;
  font-weight: bold;
  margin-top: 6px;
}

.dc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); /* Адаптивно */
  gap: 10px;
}

.dc-item {
  text-align: center;
  font-family: Arial, sans-serif;
  font-size: 14px;
}

.dc-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  margin-bottom: 8px;
  background-color: #f2f2f2;
}

.dc-item.dc-cert img {
  aspect-ratio: 1 / 1;
    width: 100%;
    height: auto;
    display: block;
}
.dc-tag {
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid #ccc;
  border-radius: 20px;
  font-size: 14px;
  color: #333;
  background: #fff;
  text-decoration: none;
  transition: 0.2s;
}
.dc-tag:hover {
  border-color: #000;
  color: #000;
}

.lc3d-error {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  color: #6b1d1d;
  background: #fff4f4;
  font: 15px/1.45 Arial, sans-serif;
}

/* ===== Left column layout from calculator backup ===== */
  /* ===== P0: визуальная структура калькулятора ===== */
  .detail-block.ordered-block.calc .lightcalc{
    grid-template-columns:380px minmax(0, 1fr);
    gap:28px;
  }

  .detail-block.ordered-block.calc .lightcalc__left{
    min-width:320px;
  }

  .detail-block.ordered-block.calc .lc-card__head{
    padding:0 2px;
  }

  .detail-block.ordered-block.calc .lc-card__title{
    font:900 18px/1.15 system-ui;
    letter-spacing:-.02em;
  }

  .lc-fieldset{
    display:grid;
    gap:12px;
    padding:14px;
    border:1px solid rgba(0,0,0,.08);
    border-radius:18px;
    background:#fff;
    box-shadow:0 8px 22px rgba(0,0,0,.045);
  }

  .lc-fieldset + .lc-fieldset{
    margin-top:2px;
  }

  .lc-fieldset__title{
    display:flex;
    align-items:center;
    gap:8px;
    font:900 12px/1 system-ui;
    letter-spacing:.08em;
    text-transform:uppercase;
    color:#111;
  }

  .lc-fieldset__title:before{
    content:"";
    width:8px;
    height:8px;
    border-radius:50%;
    background:#fbb33d;
    box-shadow:0 0 0 5px rgba(251,179,61,.16);
  }

  .lc-fieldset--extra{
    background:#fbfbfd;
    box-shadow:none;
  }

  .lc-fieldset--extra .lc-fieldset__title,
  .lc-fieldset--extra .lc-label{
    color:rgba(0,0,0,.62);
  }

  .lc-fieldset--extra .lc-fieldset__title:before{
    background:rgba(0,0,0,.25);
    box-shadow:0 0 0 5px rgba(0,0,0,.06);
  }

  .lc-fieldset .lc-field{
    gap:7px;
  }

  .lc-label{
    font-weight:800;
    color:rgba(0,0,0,.76);
  }

  .lc-help{
    color:rgba(0,0,0,.58);
  }

  .lc-dimsBox{
    background:linear-gradient(180deg,#fbfbfd 0%,#f3f4f8 100%);
  }

  .lc-input,
  .lc-select{
    height:44px;
    font-size:15px;
  }

  .lc-addon{
    height:44px;
  }

  .lc-toggle{
    background:#f1f2f5;
  }

  .lc-toggle__btn{
    height:34px;
  }

  .lc-target-display{
    border:1px solid rgba(251,179,61,.3);
    background:rgba(251,179,61,.1);
    color:rgba(0,0,0,.72);
  }

/* ===== Left column: remove nested card borders ===== */
.detail-block.ordered-block.calc .lightcalc__left .lc-fieldset{
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  gap:10px;
}

.detail-block.ordered-block.calc .lightcalc__left .lc-fieldset + .lc-fieldset{
  margin-top:16px;
  padding-top:16px;
  border-top:1px solid rgba(0,0,0,.08);
}

.detail-block.ordered-block.calc .lightcalc__left .lc-fieldset__title{
  margin-bottom:2px;
  color:rgba(0,0,0,.58);
}

.detail-block.ordered-block.calc .lightcalc__left .lc-fieldset__title:before{
  width:6px;
  height:6px;
  box-shadow:none;
}

.detail-block.ordered-block.calc .lightcalc__left .lc-fieldset--extra{
  background:transparent;
}

/* ===== Recommended luminaire: compact commercial card ===== */
.detail-block.ordered-block.calc .lc-calc-product{
  margin-top:14px;
  padding:18px;
  border:1px solid rgba(0,0,0,.08);
  border-radius:18px;
  background:linear-gradient(135deg,#fff 0%,#f8f9fb 100%);
  box-shadow:0 12px 30px rgba(0,0,0,.07);
  grid-template-columns:116px minmax(0,1fr);
  gap:16px;
  align-items:center;
}
.detail-block.ordered-block.calc .lc-calc-product__media .lc-lamp-thumb{
  width:116px;
  height:116px;
  border-radius:16px;
  background:#fff;
  box-shadow:inset 0 0 0 1px rgba(0,0,0,.05);
}
.detail-block.ordered-block.calc .lc-calc-product__media .lc-lamp-thumb img{
  width:100%;
  height:100%;
  object-fit:contain;
  border:0;
}
.detail-block.ordered-block.calc .lc-calc-product__top{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px;
}
.detail-block.ordered-block.calc .lc-calc-product__label{
  font-size:11px;
  line-height:1.2;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:rgba(0,0,0,.52);
}
.detail-block.ordered-block.calc .lc-calc-product__badge{
  padding:5px 9px;
  border-radius:999px;
  background:rgba(251,179,61,.16);
  color:#8a5600;
  font-size:11px;
  line-height:1;
  font-weight:900;
}
.detail-block.ordered-block.calc .lc-calc-product__name{
  margin-top:8px;
  max-width:760px;
  font-size:17px;
  line-height:1.28;
  font-weight:900;
  color:#111;
}
.detail-block.ordered-block.calc .lc-calc-product__chips{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-top:10px;
}
.detail-block.ordered-block.calc .lc-calc-product__chips span{
  padding:6px 9px;
  border-radius:999px;
  background:#fff;
  color:rgba(0,0,0,.72);
  font-size:12px;
  line-height:1;
  font-weight:850;
  box-shadow:inset 0 0 0 1px rgba(0,0,0,.07);
}
.detail-block.ordered-block.calc .lc-calc-product__summary{
  display:inline-flex;
  align-items:center;
  margin-top:10px;
  padding:8px 10px;
  border-radius:12px;
  background:#111;
  color:#fff;
  font-size:13px;
  line-height:1.2;
  font-weight:900;
}
.detail-block.ordered-block.calc .lc-calc-product__actions{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:12px;
}
.detail-block.ordered-block.calc .lc-calc-product__btn,
.detail-block.ordered-block.calc .lc-calc-product__link,
.detail-block.ordered-block.calc .lc-calc-product__pdf{
  min-height:40px;
  border-radius:11px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:11px 15px;
  font-size:13px;
  line-height:1.1;
  font-weight:900;
  text-decoration:none!important;
  cursor:pointer;
}
.detail-block.ordered-block.calc .lc-calc-product__btn{
  border:0;
  background:#111;
  color:#fff;
}
.detail-block.ordered-block.calc .lc-calc-product__link{
  border:1px solid rgba(0,0,0,.12);
  background:#fff;
  color:#111!important;
}
.detail-block.ordered-block.calc .lc-calc-product__pdf{
  border:1px solid rgba(251,179,61,.75);
  background:rgba(251,179,61,.14);
  color:#8a5600;
}
.detail-block.ordered-block.calc .lc-calc-product__pdf:hover{
  border-color:#fbb33d;
  background:rgba(251,179,61,.22);
}
.detail-block.ordered-block.calc .lc-calc-product__pdf:disabled{
  opacity:.68;
  cursor:wait;
}
.detail-block.ordered-block.calc .lc-calc-product__link.is-disabled{
  background:#f1f2f4;
  color:rgba(0,0,0,.42)!important;
  pointer-events:none;
}
@media (max-width:640px){
  .detail-block.ordered-block.calc .lc-calc-product{
    grid-template-columns:84px minmax(0,1fr);
    padding:14px;
    gap:12px;
  }
  .detail-block.ordered-block.calc .lc-calc-product__media .lc-lamp-thumb{
    width:84px;
    height:84px;
  }
  .detail-block.ordered-block.calc .lc-calc-product__name{
    font-size:15px;
  }
  .detail-block.ordered-block.calc .lc-calc-product__actions{
    grid-column:1 / -1;
  }
  .detail-block.ordered-block.calc .lc-calc-product__btn,
  .detail-block.ordered-block.calc .lc-calc-product__link,
  .detail-block.ordered-block.calc .lc-calc-product__pdf{
    width:100%;
  }
}
