/**
* PrestaShop module created by VEKIA, a guy from official PrestaShop community ;-)
*
* @author    VEKIA PL MILOSZ MYSZCZUK
* @copyright  VEKIA
* @license   This program is not free software and you can't resell and redistribute it
*
* CONTACT WITH DEVELOPER http://mypresta.eu
* support@mypresta.eu
*/

.mctf-wrap {
    margin: 24px 0;
    clear: both;
}

.mctf-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    font-size: 14px;
}

.mctf-table th,
.mctf-table td {
    padding: 12px 14px;
    border-bottom: 1px solid #eceff3;
    text-align: left;
    vertical-align: middle;
}

.mctf-table thead th {
    font-weight: 650;
    background: #f6f7f9;
    border-bottom: 1px solid #e2e5ea;
    color: #14181f;
}

.mctf-row:hover td {
    background: #fafbfc;
}

.mctf-td-image img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    background: #f3f4f6;
}

.mctf-td-reference {
    font-variant-numeric: tabular-nums;
    color: #4b5563;
    white-space: nowrap;
}

.mctf-td-cname {
    font-weight: 600;
    color: #14181f;
}

.mctf-td-atc {
    text-align: right;
    white-space: nowrap;
}

.mctf-atc-btn {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin: 0;
    padding: 0 14px;
    min-height: 36px;
    border: 0;
    border-radius: 10px;
    background: #1a1d21;
    color: #fff;
    font-size: 13px;
    font-weight: 650;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.12);
}

.mctf-atc-btn:hover {
    background: #111418;
    color: #fff;
}

.mctf-atc-btn--disabled,
.mctf-atc-btn:disabled {
    background: #e8eaee;
    color: #8b929c;
    box-shadow: none;
    cursor: not-allowed;
}

.mctf-atc-btn.is-loading {
    opacity: 0.7;
}

.mctf-credit {
    margin: 8px 0 0;
    text-align: right;
    font-size: 11px;
    line-height: 1.4;
    color: #9aa1aa;
}

.mctf-credit a {
    color: #7b838e;
    text-decoration: underline;
}

.mctf-credit a:hover {
    color: #25b9d7;
}

@media (max-width: 767px) {
    .mctf-table thead {
        display: none;
    }

    .mctf-table,
    .mctf-table tbody,
    .mctf-table tr,
    .mctf-table td {
        display: block;
        width: 100%;
    }

    .mctf-table tr {
        margin-bottom: 12px;
        border: 1px solid #e6e8eb;
        border-radius: 12px;
        overflow: hidden;
        background: #fff;
    }

    .mctf-table td {
        text-align: right;
        padding: 10px 12px 10px 45%;
        position: relative;
        border-bottom: 1px solid #f1f2f4;
    }

    .mctf-table td:before {
        content: attr(data-label);
        position: absolute;
        left: 12px;
        width: 40%;
        text-align: left;
        font-weight: 650;
        color: #4b5563;
    }

    .mctf-td-image img {
        margin-left: auto;
    }

    .mctf-atc-btn {
        flex: 1 1 auto;
        min-width: 140px;
    }
}
