
/* ── Reset global border (was harsh orange) ── */
table, tr, td, th {
    border: none;
}

/* ── Page wrapper ────────────────────────────── */
.comparison_dircet_main_ {
    width: 100%;
    padding: 48px 24px 64px;
    background: #fff;
}

.comparison_flex_box {
    max-width: 100%;
}

/* ── Page title ──────────────────────────────── */
.comparison_flex_box > h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a2e4a;
    margin-bottom: 32px;
    padding-left: 16px;
    border-left: 4px solid #f97316;
    line-height: 1.3;
}

/* ── Table container ─────────────────────────── */
.comparison-table-container {
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10);
    border: 1px solid #e2e8f0;
}

.comparison-table-container table {
    border-collapse: collapse;
}

.comparison-table-container th,
.comparison-table-container td {
    border: 1px solid #e2e8f0;
    padding: 10px 8px;
    text-align: center;
    vertical-align: middle;
}

/* ── Image row ───────────────────────────────── */
.comparison_img {
    width: 100px;
    min-width: 92px;
    padding: 16px 10px 8px;
    background: #f8f9fa;
    vertical-align: bottom;
}

.comparison_img img {
    max-width: 80px;
    height: 80px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

/* ── Product name header row ─────────────────── */
.comparison_name {
    background: #1a2e4a;
}

.comparison_name h5 {
    text-align: center;
    padding: 2px 4px;
    font-size: 11px;
    font-weight: 600;
    margin: 0;
    color: #ffffff;
    white-space: normal;
    line-height: 1.5;
}

/* ── Title / label column ────────────────────── */
.comparison_title {
    min-width: 200px;
    max-width: 240px;
    background: #f8fafc;
}

.comparison_title h5 {
    font-weight: 600;
    font-size: 12px;
    text-align: left;
    padding: 2px 8px;
    margin: 0;
    color: #1a2e4a;
    white-space: normal;
    line-height: 1.5;
}

/* ── Data cells ──────────────────────────────── */
.comparison_data {
    min-width: 90px;
}

.comparison_data h5 {
    font-weight: 400;
    text-align: center;
    font-size: 12px;
    padding: 0;
    margin: 0;
    white-space: normal;
    color: #374151;
    line-height: 1.5;
}

/* ── Alternating rows ────────────────────────── */
tbody tr:nth-child(even) .comparison_data,
tbody tr:nth-child(even) .comparison_button {
    background: #f8fafc;
}

tbody tr:nth-child(even) .comparison_title {
    background: #eef2f7;
}

/* ── Hover rows ──────────────────────────────── */
tbody tr:hover .comparison_data,
tbody tr:hover .comparison_button {
    background: #eff6ff;
}

tbody tr:hover .comparison_title {
    background: #dbeafe;
}

/* ── Sticky first column ─────────────────────── */
.comparison-table-container th:first-child,
.comparison-table-container td:first-child {
    position: sticky;
    left: 0;
    z-index: 2;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.07);
}

.comparison-table-container thead th:first-child,
.comparison-table-container thead td:first-child {
    z-index: 4;
}

/* ── Buttons ─────────────────────────────────── */
.comparison_button {
    white-space: nowrap;
}

.comparison_button button {
    width: 82px;
    padding: 5px 4px;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: block;
    margin: 4px auto;
    font-size: 10px;
    font-weight: 500;
    transition: background 0.15s;
}

.comparison_button button:hover {
    background: #1a2e4a;
}

/* ── Bottom image section ────────────────────── */
.comparison_o_main_flex_box {
    width: 100%;
    background: #f8f9fa;
    border-top: 1px solid #e2e8f0;
    padding: 48px 0;
}

.comparison_o_little_flex_box {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: center;
}

.comparison_o_little_flex_box_img img {
    max-width: 100%;
    margin: 0 auto;
}
