/* IMC RC32 — global product specification table design.
   Any table saved in a product's Specifications field is styled automatically. */
.imc-specifications-section{position:relative}
.imc-specifications-heading{margin:0 0 22px;padding:24px 26px;border-radius:20px;background:linear-gradient(135deg,#25252b,#25252b);color:#fff;border:1px solid rgba(211,133,70,.18)}
.imc-specifications-heading>span{display:block;margin-bottom:5px;color:#c09958;font-size:10px;font-weight:800;letter-spacing:.15em}
.imc-specifications-heading h2{margin:0 0 8px!important;color:#fff!important;font-size:clamp(24px,2.6vw,38px)!important;line-height:1.05;font-weight:800}
.imc-specifications-heading p{margin:0;color:#f7f3ef;font-size:13px;line-height:1.6}
.imc-spec-content{color:#363c40;font-size:14px;line-height:1.72;overflow-x:auto}
.imc-spec-content h2,.imc-spec-content h3,.imc-spec-content h4{color:#25252b!important;font-weight:800!important;line-height:1.2;margin-top:24px;margin-bottom:12px}
.imc-spec-content ul,.imc-spec-content ol{padding-left:22px}
.imc-spec-content table{
    width:100%!important;
    min-width:620px;
    border-collapse:separate!important;
    border-spacing:0!important;
    margin:18px 0 26px!important;
    background:#f7f3ef!important;
    border:1px solid #506173!important;
    border-radius:16px;
    overflow:hidden;
    box-shadow:0 8px 22px rgba(79,101,117,.08);
    font-size:13px!important;
}
/* RC32 palette taken from the supplied reference table: soft sage / pale green only. */
.imc-spec-content table tr:first-child td,
.imc-spec-content table tr:first-child th,
.imc-spec-content table thead th{
    background:#506173!important;
    color:#506173!important;
    font-weight:800!important;
    border-color:#506173!important;
}
.imc-spec-content table th,
.imc-spec-content table td{
    padding:11px 13px!important;
    border:0!important;
    border-right:1px solid #f7f3ef!important;
    border-bottom:1px solid #f7f3ef!important;
    vertical-align:middle!important;
    text-align:left!important;
    color:#5f6a72!important;
    background:#f7f3ef!important;
    height:auto!important;
}
.imc-spec-content table th:last-child,
.imc-spec-content table td:last-child{border-right:0!important}
.imc-spec-content table tr:last-child td{border-bottom:0!important}
.imc-spec-content table tbody tr:nth-child(odd) td{background:#f7f3ef!important}
.imc-spec-content table tbody tr:nth-child(even) td{background:#ebedef!important}
.imc-spec-content table tbody td:first-child{
    font-weight:800!important;
    color:#506173!important;
    background:#f7f3ef!important;
}
.imc-spec-content table tbody tr:nth-child(even) td:first-child{background:#f7f3ef!important}
/* Hover stays inside the same muted sage palette — no black or bright accent. */
.imc-spec-content table tbody tr:hover td{background:#f7f3ef!important;color:#506173!important}
.imc-spec-content table tbody tr:hover td:first-child{background:#506173!important;color:#506173!important}
.imc-spec-content table p{margin:0!important}
.imc-spec-content table a{color:#506173!important}
.imc-spec-content table a:hover{color:#506173!important;text-decoration:underline}

.imc-video-fallback{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px 26px;border:1px solid #f7f3ef;border-radius:20px;background:#f7f3ef}
.imc-video-fallback span{display:block;margin-bottom:5px;color:#506173;font-size:10px;font-weight:800;letter-spacing:.14em}
.imc-video-fallback h2{margin:0 0 7px!important;color:#25252b!important;font-size:24px!important;font-weight:800}
.imc-video-fallback p{margin:0;max-width:760px;color:#69766e;font-size:13px;line-height:1.55}
@media(max-width:767px){.imc-specifications-heading{padding:19px 18px;border-radius:16px}.imc-spec-content{font-size:13px}.imc-spec-content table{min-width:560px;font-size:12px!important}.imc-spec-content table th,.imc-spec-content table td{padding:9px 10px!important}.imc-video-fallback{align-items:flex-start;flex-direction:column;padding:19px 18px;border-radius:16px}.imc-video-fallback .btn{width:100%}}

/* Specification contrast repair */
.imc-spec-content table tbody tr:nth-child(odd) td{background:#faf7ef!important;color:#35312a!important}
.imc-spec-content table tbody tr:nth-child(even) td{background:#eee7d8!important;color:#35312a!important}
.imc-spec-content table tbody tr:hover td,.imc-spec-content table tbody tr:hover td:first-child{background:#e7d8ba!important;color:#29251f!important}
.imc-spec-content table tbody tr:first-child td,.imc-spec-content table tr:first-child th,.imc-spec-content table thead th,.imc-spec-content table tbody tr:first-child:hover td{background:#34312b!important;color:#f7f3ef!important}
.imc-spec-content table td *,.imc-spec-content table th *{color:inherit!important}
