.mg-qc {
    max-width: 1280px;
    margin: 24px auto 0;
    padding: 0 16px;
}

.mg-qc__track {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

.mg-qc__card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.mg-qc__card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.mg-qc__card-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px 12px;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.mg-qc__card-heading {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 10px;
    line-height: 1.3;
}

.mg-qc__card--product .mg-qc__card-img {
    width: 100px;
    height: 100px;
    margin-bottom: 8px;
}

.mg-qc__card--product .mg-qc__card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.mg-qc__card-name {
    font-size: 12px;
    color: #555;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 6px;
}

.mg-qc__card-price {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a2e;
}

.mg-qc__card-price del {
    font-size: 11px;
    color: #999;
    font-weight: 400;
}

.mg-qc__card-discount {
    font-size: 11px;
    font-weight: 700;
    color: #00a650;
    margin-top: 2px;
}

.mg-qc__card--info .mg-qc__card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.mg-qc__card-desc {
    font-size: 12px;
    color: #666;
    line-height: 1.4;
    margin-bottom: auto;
}

.mg-qc__card-cta {
    display: inline-block;
    margin-top: 10px;
    font-size: 12px;
    font-weight: 700;
    color: #4c1d95;
    border: 1px solid rgba(76, 29, 149, 0.16);
    border-radius: 999px;
    background: #ffffff;
    padding: 9px 16px;
    box-shadow: 0 2px 8px rgba(76, 29, 149, 0.08);
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.mg-qc__card:hover .mg-qc__card-cta {
    border-color: #5b1787;
    background: #5b1787;
    color: #fff;
    box-shadow: 0 10px 22px rgba(91, 23, 135, 0.22);
}

@media (max-width: 1024px) {
    .mg-qc__track {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    .mg-qc {
        padding: 0 10px;
        margin-top: 16px;
    }

    .mg-qc__track {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 10px;
        padding-bottom: 8px;
    }

    .mg-qc__card {
        flex: 0 0 44%;
        scroll-snap-align: start;
    }

    .mg-qc__card-heading {
        font-size: 13px;
    }
}
