/* Tech Titan order form: hosting plan cards, shared features and comparison table. Loaded by products.tpl with its own version number, so a change here reaches returning visitors at once. */

/* --- hosting plans: shared features and comparison ------------------------- */

#order-standard_cart .ttc-plans-same {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    padding: 12px 18px;
    border: 1px solid rgba(220, 167, 69, .45);
    border-radius: 14px;
    background: linear-gradient(115deg, rgba(220, 167, 69, .12), rgba(18, 18, 24, .5));
    color: #fbefd0;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.7;
}
#order-standard_cart .ttc-plans-same .ttc-ico {
    flex: none;
    width: 20px;
    height: 20px;
}
/* the two facts that differ between plans stand out; the shared ones stay calm */
#order-standard_cart .ttc-specs li.ttc-spec-key strong {
    padding: 2px 12px;
    border: 1px solid rgba(220, 167, 69, .5);
    border-radius: 99px;
    background: rgba(220, 167, 69, .1);
    color: #ffe7b0;
    font-size: 16px;
}
#order-standard_cart .ttc-specs li.ttc-spec-shared {
    font-size: 14.5px;
}
#order-standard_cart .ttc-specs li.ttc-spec-shared strong {
    color: #f3ece6;
    font-size: 14.5px;
    white-space: nowrap;
}
#order-standard_cart .ttc-compare {
    margin-top: 34px;
}
#order-standard_cart .ttc-compare-head {
    margin-bottom: 16px;
}
#order-standard_cart .ttc-compare-head h2 {
    margin: 10px 0 0;
    color: #fff;
    font-size: clamp(22px, 2.4vw, 32px);
    font-weight: 800;
    line-height: 1.4;
}
#order-standard_cart .ttc-compare-wrap {
    overflow-x: auto;
    border: 1px solid var(--ttc-line-wine, #5c333b);
    border-radius: 20px;
    background: #101016;
    box-shadow: 0 22px 48px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 240, 175, .07);
}
#order-standard_cart .ttc-compare-table {
    width: 100%;
    min-width: 560px;
    margin: 0;
    border-collapse: collapse;
    text-align: start;
}
#order-standard_cart .ttc-compare-table th,
#order-standard_cart .ttc-compare-table td {
    padding: 13px 18px;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, .06);
    color: #f3ece6;
    font-size: 15px;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
}
#order-standard_cart .ttc-compare-table thead th {
    border-top: 0;
    background: linear-gradient(115deg, #4a1525, #26131c);
    color: #f6d894;
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
}
#order-standard_cart .ttc-compare-table th[scope="row"],
#order-standard_cart .ttc-compare-table thead th:first-child {
    text-align: start;
}
#order-standard_cart .ttc-compare-table th[scope="row"] {
    color: var(--ttc-soft, #e2d6d7);
    font-weight: 800;
    white-space: nowrap;
}
#order-standard_cart .ttc-compare-table th[scope="row"] .ttc-ico {
    width: 18px;
    height: 18px;
    margin-inline-end: 10px;
    vertical-align: -3px;
}
#order-standard_cart .ttc-compare-table tbody tr:nth-child(even) th,
#order-standard_cart .ttc-compare-table tbody tr:nth-child(even) td {
    background: rgba(255, 255, 255, .022);
}
#order-standard_cart .ttc-compare-table tr.ttc-compare-key td {
    color: #ffe7b0;
    font-size: 17px;
    font-weight: 800;
}
@media (max-width: 639px) {
    #order-standard_cart .ttc-plans-same {
        align-items: flex-start;
        font-size: 15px;
    }
    /* phones: all three plans stay visible side by side instead of scrolling sideways */
    #order-standard_cart .ttc-compare-table {
        min-width: 0;
        table-layout: fixed;
    }
    #order-standard_cart .ttc-compare-table th,
    #order-standard_cart .ttc-compare-table td {
        padding: 10px 5px;
        font-size: 12.5px;
        line-height: 1.45;
        overflow-wrap: anywhere;
    }
    #order-standard_cart .ttc-compare-table thead th,
    #order-standard_cart .ttc-compare-table th[scope="row"] {
        white-space: normal;
    }
    #order-standard_cart .ttc-compare-table thead th {
        font-size: 11.5px;
    }
    #order-standard_cart .ttc-compare-table thead th:first-child,
    #order-standard_cart .ttc-compare-table th[scope="row"] {
        width: 34%;
        padding-inline-start: 12px;
    }
    #order-standard_cart .ttc-compare-table th[scope="row"] .ttc-ico {
        display: none;
    }
    #order-standard_cart .ttc-compare-table tr.ttc-compare-key td {
        font-size: 14px;
    }
}
