.mcp-price-table-wrap {
    margin: 30px 0;
    direction: rtl;
    font-family: inherit;
}

.mcp-table-top {
    margin-bottom: 14px;
}

.mcp-table-title {
    margin: 0 0 8px;
    color: #0f172a;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.4;
}

.mcp-table-note {
    margin: 0;
    color: #475569;
    font-size: 14px;
    line-height: 1.7;
}

.mcp-table-note strong {
    color: #ea580c;
    font-weight: 700;
}

.mcp-table-box {
    background: linear-gradient(180deg, #0f172a 0%, #111827 100%);
    border: 1px solid rgba(59, 130, 246, 0.08);
    border-radius: 18px;
    padding: 10px;
    box-shadow: 0 10px 30px rgba(2, 6, 23, 0.25);
    overflow: hidden;
}

.mcp-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
    color: #e5e7eb;
}

.mcp-table thead th {
    padding: 14px 18px;
    text-align: right;
    font-size: 15px;
    font-weight: 700;
    color: #f8fafc;
    background: #162033;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.mcp-table thead th:first-child {
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}

.mcp-table thead th:last-child {
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
}

.mcp-table tbody td {
    padding: 18px;
    vertical-align: middle;
    background: rgba(22, 32, 51, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    color: #dbe4f0;
    font-size: 15px;
    line-height: 1.8;
}

.mcp-table tbody tr td:first-child {
    border-top-right-radius: 14px;
    border-bottom-right-radius: 14px;
}

.mcp-table tbody tr td:last-child {
    border-top-left-radius: 14px;
    border-bottom-left-radius: 14px;
}

.mcp-table tbody tr:hover td {
    background: rgba(26, 39, 61, 0.98);
    transition: background 0.25s ease;
}

.mcp-id {
    color: #e2e8f0;
    font-weight: 500;
    white-space: nowrap;
}

.mcp-product-name {
    color: #f8fafc;
    font-weight: 500;
}

.mcp-attributes {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mcp-attribute-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #dbe4f0;
}

.mcp-attribute-text {
    display: inline-block;
    color: #e5e7eb;
}

.mcp-price {
    display: inline-flex;
    align-items: center;
    gap: 0px;
    color: #f97316;
    font-weight: 700;
    font-size: 24px;
    white-space: nowrap;
}

.mcp-price-value {
    letter-spacing: 0.3px;
}

@media (max-width: 1024px) {
    .mcp-table thead th,
    .mcp-table tbody td {
        padding: 16px 14px;
        font-size: 14px;
    }

    .mcp-price {
        font-size: 20px;
    }
}

@media (max-width: 767px) {
    .mcp-table-box {
        padding: 8px;
        border-radius: 16px;
    }

    .mcp-table,
    .mcp-table thead,
    .mcp-table tbody,
    .mcp-table th,
    .mcp-table td,
    .mcp-table tr {
        display: block;
        width: 100%;
    }

    .mcp-table {
        border-spacing: 0;
    }

    .mcp-table thead {
        display: none;
    }

    .mcp-table tbody tr {
        background: rgba(22, 32, 51, 0.96);
        border: 1px solid rgba(255, 255, 255, 0.05);
        border-radius: 14px;
        padding: 14px;
        margin-bottom: 12px;
    }

    .mcp-table tbody td {
        background: transparent;
        border: 0;
        border-radius: 0 !important;
        padding: 8px 0;
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 12px;
        text-align: right;
    }

    .mcp-table tbody td::before {
        content: attr(data-label);
        color: #94a3b8;
        font-size: 13px;
        font-weight: 600;
        min-width: 78px;
        flex: 0 0 78px;
    }

    .mcp-table tbody td > * {
        flex: 1 1 auto;
    }

    .mcp-product-name,
    .mcp-attribute-text,
    .mcp-id {
        font-size: 14px;
    }

    .mcp-price {
        justify-content: flex-start;
        gap: 0;
        font-size: 18px;
    }

    .mcp-table-title {
        font-size: 20px;
    }
}
