:root {
    --sma-tc-blue: #006d9c;
    --sma-tc-deep: #06435e;
    --sma-tc-aqua: #eaf8fc;
    --sma-tc-border: #d9e5e9;
    --sma-tc-text: #17323d;
}

.sma-tc-add-button,
.sma-tc-dock-compare,
.sma-tc-clear-all {
    border: 1px solid var(--sma-tc-blue);
    border-radius: 7px;
    background: #fff;
    color: var(--sma-tc-blue);
    font: inherit;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
}

.sma-tc-add-button {
    padding: 11px 16px;
    margin: 8px 0;
}

.sma-tc-add-button:hover,
.sma-tc-add-button:focus-visible,
.sma-tc-add-button.is-selected {
    background: var(--sma-tc-blue);
    color: #fff;
}

.sma-tc-context-loop {
    width: 100%;
    margin-top: 7px;
}

.sma-tc-tripgo-button {
    display: flex;
    justify-content: flex-start;
    margin: 0 0 22px;
}

.sma-tc-tripgo-button .sma-tc-add-button {
    margin: 0;
}

.sma-tc-specifications,
.sma-tc-compare-page {
    clear: both;
    width: 100%;
    margin: 32px auto;
    color: var(--sma-tc-text);
}

.sma-tc-specifications h2,
.sma-tc-compare-page h1 {
    color: var(--sma-tc-deep);
}

.sma-tc-table-scroll {
    overflow-x: auto;
    border: 1px solid var(--sma-tc-border);
    border-radius: 10px;
    background: #fff;
    -webkit-overflow-scrolling: touch;
}

.sma-tc-specifications table,
.sma-tc-comparison-table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
    table-layout: auto;
}

.sma-tc-specifications th,
.sma-tc-specifications td,
.sma-tc-comparison-table th,
.sma-tc-comparison-table td {
    padding: 13px 16px;
    border: 0;
    border-bottom: 1px solid var(--sma-tc-border);
    vertical-align: middle;
    text-align: left;
}

.sma-tc-specifications tr:last-child th,
.sma-tc-specifications tr:last-child td,
.sma-tc-comparison-table tbody tr:last-child th,
.sma-tc-comparison-table tbody tr:last-child td {
    border-bottom: 0;
}

.sma-tc-specifications th,
.sma-tc-comparison-table tbody th {
    width: 32%;
    background: #f7fafb;
    font-weight: 650;
}

.sma-tc-comparison-table {
    min-width: 680px;
}

.sma-tc-feature-heading {
    min-width: 155px;
    background: var(--sma-tc-deep);
    color: #fff;
}

.sma-tc-product-heading {
    min-width: 175px;
    background: var(--sma-tc-aqua);
    text-align: center !important;
}

.sma-tc-product-heading a {
    display: block;
    color: var(--sma-tc-deep);
    text-decoration: none;
}

.sma-tc-product-heading img {
    display: block;
    width: 110px;
    height: 80px;
    margin: 0 auto 8px;
    border-radius: 6px;
    object-fit: cover;
}

.sma-tc-remove-product,
.sma-tc-chip-remove {
    border: 0;
    background: transparent;
    color: #a12b2b;
    cursor: pointer;
}

.sma-tc-remove-product {
    margin-top: 7px;
    font-size: 12px;
    text-decoration: underline;
}

.sma-tc-compare-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.sma-tc-compare-heading h1 {
    margin: 0;
}

.sma-tc-compare-tools {
    display: flex;
    align-items: center;
    gap: 14px;
}

.sma-tc-clear-all {
    padding: 8px 12px;
}

.sma-tc-empty {
    padding: 22px;
    border: 1px solid var(--sma-tc-border);
    border-radius: 10px;
    background: var(--sma-tc-aqua);
}

.sma-tc-dock {
    position: fixed;
    z-index: 9999;
    right: 18px;
    bottom: 18px;
    left: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 1080px;
    margin: auto;
    padding: 12px 14px;
    border-radius: 10px;
    background: var(--sma-tc-deep);
    color: #fff;
    box-shadow: 0 8px 28px rgba(0, 43, 61, .28);
}

.sma-tc-dock-summary {
    flex: 0 0 auto;
    font-weight: 700;
}

.sma-tc-dock-chips {
    display: flex;
    flex: 1 1 auto;
    gap: 7px;
    min-width: 0;
    overflow: hidden;
}

.sma-tc-chip {
    display: inline-flex;
    align-items: center;
    max-width: 220px;
    padding: 6px 5px 6px 9px;
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    white-space: nowrap;
}

.sma-tc-chip-label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sma-tc-chip-remove {
    flex: 0 0 auto;
    color: #fff;
    font-size: 19px;
    line-height: 1;
}

.sma-tc-dock-compare {
    flex: 0 0 auto;
    padding: 11px 16px;
    background: #fff;
    text-decoration: none;
}

.sma-tc-dock-close {
    position: absolute;
    top: -12px;
    right: -10px;
    display: grid;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 2px solid var(--sma-tc-deep);
    border-radius: 50%;
    background: #fff;
    color: var(--sma-tc-deep);
    font: 700 23px/1 sans-serif;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0, 43, 61, .2);
}

.sma-tc-dock-close:hover,
.sma-tc-dock-close:focus-visible {
    background: var(--sma-tc-aqua);
}

@media (max-width: 700px) {
    .sma-tc-specifications th,
    .sma-tc-specifications td {
        padding: 11px 12px;
    }

    .sma-tc-compare-heading,
    .sma-tc-compare-tools {
        align-items: flex-start;
        flex-direction: column;
    }

    .sma-tc-dock {
        right: 8px;
        bottom: 8px;
        left: 8px;
        flex-wrap: wrap;
    }

    .sma-tc-dock-chips {
        order: 3;
        flex-basis: 100%;
    }

    .sma-tc-dock-compare {
        margin-left: auto;
    }
}
